﻿using System.ComponentModel;
using System.Windows.Controls;

namespace MyFloridaHouse.libSvOpenDistricts.Dialogs
{
    public class DistrictCustomizationDlg : _BaseDlg
    {
        private DistrictCustomizationDlgView dlgWindow = new DistrictCustomizationDlgView();

        public DistrictCustomizationDlg(PropertyChangedEventHandler propertyChangedEventHandler, StackPanel childWindowStackPanel)
        {
            InitializeDlgWindow(propertyChangedEventHandler, childWindowStackPanel, dlgWindow);
        }

        #region form data properties

        private int _targetPopulation = 0;
        public int targetPopulation
        {
            get { return _targetPopulation; }
            set
            {
                if (_targetPopulation != value)
                {
                    _targetPopulation = value;
                    NotifyPropertyChanged("targetPopulation");
                }
            }
        }

        #endregion
    }
}
